Next | Prev | Up | Top | Contents | Index

Using DS_ABORT

The DS_ABORT ioctl() sends a SCSI ABORT message to the bus, target, and LUN defined by the file descriptor. The resulting status is returned in the dsreq that is also specified. The host adapter driver waits until no commands are pending on that bus, so there is no point in using this function to cancel anything but an immediate command such as a rewind. And example of this call is as follows:

ioctl(dev_fd, DS_ABORT, &some_dsreq);


Next | Prev | Up | Top | Contents | Index